# Contributor: Galen Abell <galen@galenabell.com>
# Maintainer: Galen Abell <galen@galenabell.com>
pkgname="py3-pass-git-helper"
_pyname="pass-git-helper"
pkgver="1.1.0"
pkgrel=0
pkgdesc="A git credential helper interfacing with pass, the standard unix password manager."
url="https://github.com/languitar/pass-git-helper"
arch="noarch"
license="LGPL-3.0-only"
depends="python3 pass py3-xdg py3-setuptools"
checkdepends="py3-pytest py3-pytest-cov py3-pytest-mock"
source="$_pyname-$pkgver.tar.gz::https://github.com/languitar/$_pyname/archive/v$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 setup.py test
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="d636f27d09619d077f64d62200353143499209c6c405848396d2e39f54f16fdf3e0fb9471d231fd8bd52eb8b30df42e2c448a9677028badf812de986b4cda86b  pass-git-helper-1.1.0.tar.gz"
